package cn.stylefeng.guns.modular.hotgood.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 轮播图（热门商品）
 * </p>
 *
 * @author lcw
 * @since 2019-09-27
 */
@TableName("tao_index_pic")
public class TaoIndexPic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableField("good_id")
    private String goodId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 备用字段1
     */
    @TableField("beiyong1")
    private String beiyong1;

    /**
     * 备用字段2
     */
    @TableField("beiyong2")
    private String beiyong2;


    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBeiyong1() {
        return beiyong1;
    }

    public void setBeiyong1(String beiyong1) {
        this.beiyong1 = beiyong1;
    }

    public String getBeiyong2() {
        return beiyong2;
    }

    public void setBeiyong2(String beiyong2) {
        this.beiyong2 = beiyong2;
    }

    @Override
    public String toString() {
        return "TaoIndexPic{" +
        "goodId=" + goodId +
        ", createTime=" + createTime +
        ", beiyong1=" + beiyong1 +
        ", beiyong2=" + beiyong2 +
        "}";
    }
}
